function GetVectorW(self)


        

 switch self.plantilla.tipodefiltro
        case 1
            self.w=logspace(log10(self.plantilla.wp*10^-5),log10(self.plantilla.wa*10^5),10000);
        case 2
            self.w=logspace(log10(self.plantilla.wa*10^-5),log10(self.plantilla.wp*10^5),10000);
        case 3
            self.w=logspace(log10(self.plantilla.wa(1)*10^-5),log10(self.plantilla.wa(2)*10^5),10000);
        case 4
            self.w=logspace(log10(self.plantilla.wp(1)*10^-5),log10(self.plantilla.wp(2)*10^5),10000);
    end

end